﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Blog.DTO.BlogComment;

/// <summary>
///     博客评论新增模型
/// </summary>
public class BlogCommentAddDTO
{
    /// <summary>
    ///     博客文章id
    /// </summary>
    [Required(ErrorMessage = "博客文章Id不可为空")]
    public string BlogTextId { get; set; }

    /// <summary>
    ///     博客评论编码
    /// </summary>
    [Required(ErrorMessage = "博客评论编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     博客评论内容
    /// </summary>
    [Required(ErrorMessage = "博客评论内容不可为空")]
    public string Content { get; set; }
}